package www.openteam.com.contract.qualityCntrl;

import www.openteam.com.bean.IPQCCheckMan;
import www.openteam.com.bean.IPQCMachine;
import www.openteam.com.bean.IPQCMsg00;
import www.openteam.com.bean.IPQCMsg01;
import www.openteam.com.bean.IPQCProduce;

/**
 * Created by OT on 2018-01-09.
 */

public class IPQCContract {

    public interface IPQCView{
        // 查找工序
        void findProduce(IPQCProduce ipqcProduce);

        //查找对应工序下的机台,code工序编号
        void findProMachine(IPQCMachine ipqcMachine);

        //查找检验员
        void findCheckMan(IPQCCheckMan ipqcCheckMan);

        //查找生产工序明细,produce工序编号
        void findMsg00(IPQCMsg00 ipqcMsg00);

        //查找发外工序明细,produce工序编号
        void findMsg01(IPQCMsg01 ipqcMsg01);

        void fail(String msg);
    }


    public interface IPQCPresenter{

        // 查找工序
        void findProduce();

        //查找对应工序下的机台,code工序编号
        void findProMachine(String code);

        //查找检验员
        void findCheckMan();

        //查找生产工序明细,produce工序编号
        void findMsg00(String produce);

        //查找发外工序明细,produce工序编号
        void findMsg01(String produce);
    }
}
